<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>SCAN磁盘调度算法</title>

	<link href="css/bootstrap.min.css" rel="stylesheet" /> 
	<script src="js/jquery-3.1.1.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<style type="text/css">
		.mytextarea{
			width:99%
		}

		textarea[readonly] {
		    background-color: #FFF7FE;
		}
		#content{
			margin: 20px;
		}
	</style>
</head>
<body>
	<form name="a" class="form-horizontal" id="content">
		<div class= "row">
			<div class="span6 Max">
				<div  class="control-group">
					<label class="control-label" for="ramSize">内存大小（M）:</label>
					<div class="controls">
						<input class="input-medium" id="ramSize" name ='ramSize' type="text" placeholder="请输入内存空间大小" class="input-xlarge">
						<span>
							<button type="button"  onclick="apply()" class="btn btn-success">	申请
							</button>
						</span>
					</div>
				</div>
				<div  class="control-group">
					<label class="control-label" for="spaceName">申请空间名称:</label>
					<div class="controls">
						<input class="input-medium" id="spaceName" name ='spaceName' type="text" placeholder="请输入申请空间名称" class="input-xlarge">
					</div>
				</div>
				<div  class="control-group">
					<label class="control-label" for="spaceSize">空间大小(KB):</label>
					<div class="controls">
						<input class="input-medium" id="spaceSize" name ='spaceSize' type="text" placeholder="请输入空间大小" class="input-xlarge">
					</div>
				</div>
				<div class="control-group">
					<div class="controls">
						<button type="button"  onclick="start()" class="btn btn-success">		存入
						</button>
						<button type="button"  onclick="showPro()" class="btn btn-primary">		查看作业
						</button>
					</div>
				</div>
			</div>
			<div class="span6 Allocation">
				<label class="control-label" for="delPid">删除作业PID:</label>
					<div class="controls">
					<input class="input-medium" id="delPid" name ='delPid' type="text" placeholder="请作业Pid" class="input-xlarge">
					<button type="button"  onclick="delPro()" class="btn btn-danger">删除
							</button>
				</div>
			</div>
		</div>
	</form>
	<div>
	<textarea readonly class="mytextarea" name="" placeholder="结果将输出在这里..." id="print" cols="100" rows="100"></textarea>
	</div>
</body>
<script src="js/ram.js"></script>
</html>